package com.shop.loan.mapper;

import com.shop.loan.model.entity.UserContactByMybatis;
import com.shop.loan.model.vo.OverdueContactUploadVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserContactByMybatisMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserContactByMybatis row);

    int insertSelective(UserContactByMybatis row);

    UserContactByMybatis selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserContactByMybatis row);

    int updateByPrimaryKey(UserContactByMybatis row);

    List<UserContactByMybatis> selectByUser(@Param("userId") Long userId);

    Integer selectCountByMobile(@Param("mobile1") String mobile1, @Param("mobile2") String mobile2, @Param("userId") Long userId);

    List<OverdueContactUploadVo> selectListByOverdue();

    List<OverdueContactUploadVo> selectListByRejectUser();
}